
export class ConfigureResponse {
    shareRatioList = new Array<CommissionData>();
    slideshowList = new Array<Slideshow>();
    showQrcodeList: boolean = false;
    announcement: string = "";
    noticeList = new Array<string>();
    services = new Array<ServiceItem>();
    inviteImgList = new Array<string>();
    qrcodeConfig = new QrcodeConfig();
    inviteScore: number = 0;
    inviteMoney: number = 0.0
    iosPay: boolean = false;
    wxQrcode: string = '';
    enablePost:boolean=false;
    openPayAppId:string='';
}

export class CommissionData {
    ratio: number = 0;
    shareLimit: number;
}

export class Slideshow {
    miniId: string = '';
    miniPage: string = '';
    url: string = '';
}

export class ServiceItem {
    type: string;
    regular: string;
    vip: string;
}

export class QrcodeConfig {
    pubProject: number = 0;
    lookQrcode: number = 0;
    uploadQrocde: number = 0;
    topQrcode: number = 0;
    editQrcode: number = 0;
    refreshQrcode: number = 0;
    topSetList = new Array<TopQrcodeSet>();
    inviteSetting = new InviteSetting();
    openSearch:boolean=false;
}

export class TopQrcodeSet {
    id: number = 0;
    name: string = '';
    desc: string = '';
    cost: number = 0;
}

export class InviteSetting {
    newbieAward: number = 0;
    inviteAward: number = 0;
    rechargeAward: number = 0;
}

